package com.ddn.service.personnel;

import com.ddn.model.personnel.Dept;
import com.ddn.util.ResultData;

import java.util.HashMap;

/**
 * @author Bikakaso
 * @date 2023/1/1
 * ddn_hotel
 */

public interface DeptService {
    // 部门
    // 查询全部 && 模糊查询
    ResultData findAll(HashMap<String, Object> map);

    ResultData add(HashMap<String,Object> map);

    ResultData deleteById(int id);

    ResultData deleteBatch(int[] ids);

    ResultData edit(Dept dept);
    // 更换姓名
    ResultData edit2(HashMap<String, Object> map);
    Integer findId(HashMap<String, Object> map);

    ResultData test();

    ResultData select(int id);

}
